import request from '@/utils/request'

/**
 * 获取导航数据
 */
export const findHeadCate = () => { return request('/home/category/head', 'get') }

/**
 * 获取banner图
 */
export const reqHomeBanner = () => { return request('home/banner', 'get') }

/**
 * 获取新鲜好物
 */
export const findHomeNew = (limit = 4) => {
  return request('/home/new', 'get', { limit: limit })
}

/**
 * 获取人气推荐
 */
export const reqFindHot = () => { return request('home/hot', 'get') }
